import request from '@/utils/request'
// 查询推广宝贝数据日报列表
export function selectByConditionList(query) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd/selectByConditionList',
    method: 'get',
    params: query
  })
}
// 查询推广宝贝数据日报列表
export function selectProductStatistics(query) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd/selectKeyWordStatistics',
    method: 'get',
    params: query
  })
}
// 查询推广关键词数据日报列表
export function listBiPromotionKeywordDwd(query) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd/list',
    method: 'get',
    params: query
  })
}

// 查询推广关键词数据日报详细
export function getBiPromotionKeywordDwd(id) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd/' + id,
    method: 'get'
  })
}

// 新增推广关键词数据日报
export function addBiPromotionKeywordDwd(data) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd',
    method: 'post',
    data: data
  })
}

// 修改推广关键词数据日报
export function updateBiPromotionKeywordDwd(data) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd',
    method: 'put',
    data: data
  })
}

// 删除推广关键词数据日报
export function delBiPromotionKeywordDwd(id) {
  return request({
    url: '/marketing/BiPromotionKeywordDwd/' + id,
    method: 'delete'
  })
}
